﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_LoginUser.ascx.cs" Inherits="UC_USER_UC_LoginUser" %>
<style type="text/css">
    .uc_dangnhap {
        width: 400px;
        font-family: Tahoma;
        font-size: 12px;
    }

    .uc_dangnhap_item {
        height: 40px;
    }

    .nhap {
        height: 24px;
        border: 1px solid #ccc;
        width: 240px;
        text-align: center;
        padding: 4px 4px 4px 20px;
        background: url('../images/User/user.gif');
        background-repeat: no-repeat;
        background-position: left;
        box-shadow: 0 0 10px rgba(0,0,0,0.2) inset;
    }

    .pass {
        height: 24px;
        border: 1px solid #ccc;
        width: 240px;
        text-align: center;
        padding: 4px 4px 4px 20px;
        background: url('../images/User/pass1.gif');
        background-repeat: no-repeat;
        background-position: 4px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2) inset;
    }

    .input {
        border: none;
        height: 22px;
        width: 220px;
    }

    .auto-style2 {
        height: 40px;
        width: 94px;
    }
</style>
<% if (Session["ten"] == null)
   { %>
<div id="wp-centercol_inner">
    <div id="wp-pos-breadcrumbs">
        <span class="breadcrumbs pathway clearafter"><a href="Default.aspx" class="home"></a>
            <div id="crumbs">
                <span>Login</span>
            </div>
        </span>
    </div>
    <div id="wp-mainbody-content">
        <div style="padding-top: 50px; background: #fbfbfb;">
            <div>
                <center>
     <div style="background:#fff;  box-shadow: 0px 0px 3px #ccc; -moz-box-shadow: 0px 0px 3px #ccc;
                    -webkit-box-shadow: 0px 0px 3px #ccc; width:92%; height:230px;  padding:10px;">  
    <table class="uc_dangnhap" style="border: 1px outset #0000FF" >
       
        <tr>
            <td class="auto-style2"> </td>                                         
            <td class="uc_dangnhap_item">
                  <b style="font-size: medium; color: #0000FF">ĐĂNG NHẬP THÀNH VIÊN</b><br />
            </td>               
        </tr> 
        <tr>
            <td class="auto-style2"> Tên đăng nhập:</td>                                         
            <td class="uc_dangnhap_item">
                 <div class="nhap">
                     <asp:TextBox ID="txtTaiKhoan" runat="server" Width="200px" Height="21px"></asp:TextBox>
               </div>
            </td>               
        </tr>
        <tr>
             <td class="auto-style2"> Mật khẩu :</td>
            <td>
                <div class="pass">
                    <asp:TextBox ID="txtMatKhau" runat="server" Width="200px"></asp:TextBox>
                 </div>
            </td>
               
        </tr>
         <tr>
            <td class="auto-style2">
                    </td>
            <td class="uc_dangnhap_item" align="center">
                <asp:Label ID="lblThongBao" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Red" Visible="False" Display="Dynamic"></asp:Label>              
                <asp:ImageButton ID="btdangnhap" runat="server" ImageUrl='../images/User/dangnhap.gif' Display="Dynamic"
                            ImageAlign="AbsMiddle" OnClick="btdangnhap_Click" />                 
            </td>              
        </tr>  
        <tr>
            <td class="auto-style2">
                    </td>
            <td class="uc_dangnhap_item" align="center">
                 <asp:HyperLink ID="HyperLink2" runat="server" BorderStyle="None" NavigateUrl="~/Page_User/default.aspx?page=quenmatkhau">Quên mật khẩu </asp:HyperLink>
                &nbsp;&nbsp;||&nbsp;&nbsp;
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Page_User/default.aspx?page=dangky"> Đăng kí</asp:HyperLink>
            </td>              
        </tr>              
    </table>
    </div>
   </center>
            </div>
        </div>
    </div>
</div>
<%}
   else
   {%>
<h2>bạn đã đăng nhập thành công</h2>
<% }%>